package com.transfer.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.common.util.AJAXResultMessage;
import com.transfer.entity.QuitStaff;
import com.transfer.entity.dto.QuitStaffQueryDTO;


public interface IQuitStaffService {
	public AJAXResultMessage saveOrUpdate(QuitStaff quitStaff);
	public AJAXResultMessage saveOrUpdate(QuitStaffQueryDTO quitStaffQueryDTO);
	
	public void delete(QuitStaff quitStaff);
	public QuitStaff findOne(Long id);
	public List<QuitStaff> findAll();
	public void delete(List<Long>ids);
	//动态条件查询
	public Page<QuitStaffQueryDTO> findAll(Specification<QuitStaff> spec, Pageable pageable);
}
